//
//  MCURLImageView.h
//  ZITHER
//
//  Created by imac on 2018/6/7.
//  Copyright © 2018年 MinesTime. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSUInteger, ImageViewPlaceholderType) {
    ImageViewPlaceholderTypeNone,
    ImageViewPlaceholderTypeUserIcon,
    ImageViewPlaceholderTypeGoods,
};

@interface MCURLImageView : UIImageView

- (void)setImageWithURLStr:(NSString *)url placeholderImageType:(ImageViewPlaceholderType)type;

- (void)setImageWithURLStr:(NSString *)url placeholder:(UIImage *)image;

@end
